package com.hcy.asyncfiledownload.common.entry;

import com.hcy.asyncfiledownload.datamodule.annotion.ProviderType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author huchenying
 * @Date 2022/9/6 11:15
 * @Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExportRecord {


    private Long id;

    /**
     * 对应处理类的全限定类名
     */
    private ProviderType providerType;

    /**
     * 查询条件
     */
    private String queryString;

    /**
     * 0 = init,1 = runtime,2 = success,3 = fail
     * 也可以搞个枚举
     */
    private Integer statusCode;

    /**
     * 最终生成的文件url
     */
    private String url;

    /**
     * 提示信息
     */
    private String errorMsg;

}
